home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / cli / Extract.lha / Extract.readme < prev   
Text File  |  1995-06-11  |  2KB  |  40 lines

  1. Short:    extracts pieces from files
  2. Uploader: steigies@physik.uni-kiel.d400.de (Christian Steigies)
  3. Author:   steigies@physik.uni-kiel.d400.de (Christian Steigies)
  4. Type:     util/cli
  5.  
  6. Extract was written for a poor guy, who has a CD-Rom drive but can't
  7. use it together with his HD. As he didn't find a split program which
  8. allowed to change the disk after writing a file, I wrote this program,
  9. which extracts a given amount of bytes from a file.
  10. After copying the small files on the HD, they can be put together with
  11. the join command.
  12. To split an archive of 2.000.000 bytes into pieces which fit on DD disk,
  13. one could use the follwing commands:
  14.  
  15. Extract large df0:small.1 1 800000
  16. Extract large df0:small.2 800001 1600000
  17. Extract large df0:small.3 1600001 2000000
  18.  
  19. After copying them all onto HD,
  20.  
  21. join small.1 small.2 small.3 as large
  22.  
  23. can be used to regain the original archive.
  24.  
  25. Usage:
  26. Extract <infile> <outfile> <from:bytes> <to:bytes>
  27.  
  28. This is kind of my first C program, so please don't blame me for bad
  29. programming style or if it blows up your Harddisk. I know that it can be
  30. programmed smarter, but it runs ok on my and Martins Amiga, but I don't
  31. use it too often (I still have no CD-Rom, and when I have mine, I'm sure
  32. that it will work together with my HD).
  33.  
  34. Extract was compiled with GNU C version 2.5.8 (requires ixemul.library,
  35. in gcc_ixemul) and with GNU C version 2.6.3 (does not require the
  36. ixemul library, in gcc_noixemul, thanx to martin for this one).
  37.  
  38. The sourcecode is included.
  39.  
  40.